package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.NewsContent;

import java.util.List;
//日报mapper
public interface NewsContentMapper {
    int deleteByPrimaryKey(Long id);

    int insert(NewsContent newsContent);

    NewsContent selectByPrimaryKey(Long id);

    List<NewsContent> selectAll();

    int updateByPrimaryKey(NewsContent newsContent);

    /**
     * 获取日报内容
     * @param id
     * @return
     */
    NewsContent selectContentById(Long id);
    
    
    
}